STEP 2: Let's use the variables we've created for the rectangle's size.

Remember, use the names of the variables, not their values. Don't put quotes around the variable names.

  • In my_rectangle, change the rectangle's width argument from 3 to the variable rectangle_width.
  • In my_rectangle, change the rectangle's height argument from 2 to the variable rectangle_height.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)